package com.itheima.chapter03.characterstring;
/*
    手机号码屏蔽----字符串截取
 */

import java.util.Scanner;

public class domestring10 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入您的手机号码：");
        String tel=sc.nextLine();
        String start= tel.substring(0,3);
        String end = tel.substring(7);
        System.out.println(start+"****"+end);
    }
}
